// const { assert, expect } = require("chai")
// const { getNamedAccounts, deployments } = require("hardhat")
//
// describe("vote", async function() {
//
//     let firstAccount
//     let task01
//     let secondAccount
//     beforeEach(async function() {
//         await deployments.fixture(["all"])
//         firstAccount = (await getNamedAccounts()).firstAccount
//         secondAccount = (await getNamedAccounts()).secondAccount
//         const fundMeDeployment = await deployments.get("Vote")
//         task01 = await ethers.getContractAt("Vote", fundMeDeployment.address)
//     })
//     it("test if vote is right", async function () {
//        await task01.vote(secondAccount)
//         assert.equal(await task01.getVotes(secondAccount), 1)
//     })
//     it("test if revertStr is right", async function () {
//         assert.equal(await task01.revertStr("abcdef"), "fedcba")
//     })
// })